<template>
	<div class="analysisTask">             
	       <ChartLine :day="day" id='qaz' :series="series" ref="chart_line_one"/>   
		  <ChartLine :day="day" id='qazz' :series="series" ref="chart_line_one1"/>   
		   <!-- <ChartLine :day="day" :series="series" ref="chart_line_one2"/>  -->
	   </div>
</template>

<script>
	import ChartLine from './components/Line.vue'
	import {line} from '../../api/echart.js'
	export default {
		data(){
		        return{
					info:null,
					day:[],
					series:[]
		        }
		    },
			created() {
			},
			methods:{
			},
		    mounted () {
				line().then((res)=>{
					const {day,series} =res.data.data
					this.day=day
					this.series = series
					this.$refs.chart_line_one.initChart()
					this.$refs.chart_line_one1.initChart()
					// this.$refs.chart_line_one2.initChart()
				})

		    },
		    components: {
		       ChartLine,
		    }
	}
</script>

<style>
</style>
